<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Home</title>
</head>

<body>
	<%
		Exception e = (Exception) request.getAttribute("exception");
		System.out.println(e.getMessage());
		out.print(e.getMessage());
	%>
	<%--	struts 错误信息和堆栈信息 	--%>
	<s:property value="exception"/>
	<s:property value="exceptionStack"/>
</body>
</html>
